﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
namespace VirtualOrg.Mobile.Models
{
    public class TaskModel
    {
        public long TaskID { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Title")]
        public string Title { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Task Details")]
        public string TaskDetails { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Activity")]
        public string Activity { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Priority")]
        public int Priority { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Assigned To")]
        public long AssignedTo { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "Start Date")]
        public DateTime StartDate { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "End Date")]
        public DateTime EndDate { get; set; }
    }
}